﻿@model aop_cache_Entity.Classroom_Info

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Classroom_Info</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.ClassroomInfoID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ClassroomInfoID)
            @Html.ValidationMessageFor(model => model.ClassroomInfoID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserInfoID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserInfoID)
            @Html.ValidationMessageFor(model => model.UserInfoID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddTime)
            @Html.ValidationMessageFor(model => model.AddTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Province)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Province)
            @Html.ValidationMessageFor(model => model.Province)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.City)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.City)
            @Html.ValidationMessageFor(model => model.City)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.District)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.District)
            @Html.ValidationMessageFor(model => model.District)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Type)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Type)
            @Html.ValidationMessageFor(model => model.Type)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Status)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Status)
            @Html.ValidationMessageFor(model => model.Status)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ImagePath)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ImagePath)
            @Html.ValidationMessageFor(model => model.ImagePath)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Feather)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Feather)
            @Html.ValidationMessageFor(model => model.Feather)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PreheatDay)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PreheatDay)
            @Html.ValidationMessageFor(model => model.PreheatDay)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SellTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SellTime)
            @Html.ValidationMessageFor(model => model.SellTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PlacesCount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PlacesCount)
            @Html.ValidationMessageFor(model => model.PlacesCount)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
